package top.burning.confidant.controller;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import top.burning.confidant.model.pojo.Book;
import top.burning.confidant.model.result.Result;
import top.burning.confidant.service.BookService;
import top.burning.confidant.service.UserService;
import top.burning.confidant.service.impl.UserServiceImpl;

import java.util.UUID;

@Controller
public class IndexController {

    @Autowired
    private UserService userService;

    @Autowired
    private BookService bookService;

    @RequestMapping(path = {"/","index"},method = {RequestMethod.GET})
    public  String index(){


      return "index";

    }


}